package com.github.linmt.dbdoc4j.metadata.query.base;


import com.github.linmt.dbdoc4j.metadata.exception.QueryMetaDataException;
import com.github.linmt.dbdoc4j.metadata.model.standard.TableModel;

import javax.sql.DataSource;
import java.util.List;

/**
 * User: Linmt
 * Date: 2022/12/2
 * Time: 19:35
 * Description: 查询
 */
public interface MetaDataQueryOperations {
    List<TableModel> queryTableMetaData() throws QueryMetaDataException;

    List<TableModel> queryTableMetaData(String[] includeTablePatterns) throws QueryMetaDataException;

    List<TableModel> queryTableMetaData(String[] includeTablePatterns, String[] excludeTablePatterns) throws QueryMetaDataException;

    DataSource getDataSource() throws QueryMetaDataException;

    String getSchema() throws QueryMetaDataException;

    String getCatalog() throws QueryMetaDataException;
}
